package com.survey.common.utils;

/**
 * @author : kyc
 * @description: 橘子工具类
 * @date : 2021-09-24 10:09
 **/
public class OrangeUtils {


    /**
     * 字符串数组转数字数组
     *
     * @param strings 字符串数组
     * @return ints 数字数组
     */
    public static int[] stringsToInts(String[] strings) {

        int[] ints = new int[strings.length];

        for (int i = 0; i < strings.length; i++) {

            ints[i] = Integer.parseInt(strings[i]);

        }

        return ints;

    }

}
